/* Adapted from startbootstrap-agency */

html{
    scroll-behavior: smooth;
}
.main-content, .main-news{
    box-sizing: border-box;
}

.btn-pn {
    /*  color: white;
      background-color: #694;*/
    margin-right: 5px;
    margin-left: 5px;
}

.intro-badge {
    font-weight: 700;
}

.main-header{
    display: flex;
    overflow: hidden;
    background:
            linear-gradient(
                    rgba(42, 47, 52, 0.60),
                    rgba(42, 47, 52, 0.85) 35%,
                    rgba(42, 47, 52, 0.85) 75%,
                    rgba(42, 47, 52, 0.60) 100%
            ),
            url("/static/static/images/background.png");
    background-size: cover;
    background-attachment: fixed;
    height: calc(100% - 65px);
    position: relative;
}


.main-header .float{
    display: inline-block;
    position: absolute;
    right: -15px;
    bottom: 1em;
    height: calc(100px + 20vh);
}

.main-header *:not(.float){
    z-index: 1;
}

.main-header .center{
    color: white;
    margin: auto;
    text-align: center;
}

.main-header .center h1{
    font-size: calc(30px + 5vw);
}

.main-header .center a{
    display: inline-block;
    text-align: center;
    padding: 10px 25px;
    border-radius: 10px;
    background-color: white;
    margin: 10px;
    font-size: calc(16px + 0.5vw);
    color: white;
    background-color: #343a40;
    border: 1px white solid;
    transition: all 0.5s;
}

.main-header .center a:hover{
    text-decoration: none;
    background-color: white;
    color: #343a40;
}

.main-header .center p{
    font-size: calc(16px + 1vw);
}

.main-header .citation{
    display: inline-block;
    width: 50%;
    padding: 20px;
    border-radius: 10px;
    border: 1px white solid;
}

.main-header .down-container{
    position: absolute;
    bottom: 50px;
    left: calc(50% - 0.5em);
    height: calc(1em + 60px);
    width: 2em;
}

.main-header .down{
    width: 1em;
    height: 1em;
    margin-left: 8px;
    border: solid white;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg) translateY(1px);
    animation: move 2s infinite;
}

@keyframes move{
    0% {margin-top: 0px;}
    50% {margin-top: 50px;}
    100% {margin-top: 50px;}
}


@media screen and (min-width: 1000px) {
    .main{
        align-items: flex-start;
    }

    .main-side{
        margin: 50px;
        border-radius: 10px;
        border: 1px silver solid;
    }

    .main-content{
        padding: 50px 0;
    }

    .content-box{
        display: inline-block;
        vertical-align: top;
        margin-left: 50px;
        width: calc(50% - 50px);
        padding: 30px;
        border: 1px silver solid;
        border-radius: 10px;
    }

    .content-box, .main-side{
        hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

.main-side h3, .main-side h4{
    font-size: 1.25rem;
}